package com.jcl.recruit.elasticsearch.resume.service;

import com.jcl.recruit.elasticsearch.resume.logic.ResumeCrawlerExportLogic;
import com.jcl.recruit.elasticsearch.resume.model.SearchResumeBasicInfo;
import com.jcl.recruit.elasticsearch.resume.vo.ResumeCrawlerExportParam;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Map;

/**
 * @ClassName ResumeBaseService
 * @Author yyliu
 * @Date 2018/11/13 10:20
 * @Version 1.0
 **/
@Service
public class ResumeCrawlerService {

    @Autowired
    private ResumeCrawlerExportLogic resumeCrawlerExportLogic;


    public Map<String, String> validateSearchResume(ResumeCrawlerExportParam resume) {


        return null;
    }

    public SearchResumeBasicInfo exportSearchResume(ResumeCrawlerExportParam resume) {

        return resumeCrawlerExportLogic.exportCrawlerResume(resume);
    }


}
